package org.swu.swuse.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.swu.swuse.dao.TagDao;
import org.swu.swuse.meta.Tag;
import org.swu.swuse.service.TagService;

@Service
public class TagServiceImpl implements TagService {

	@Resource
	private TagDao tagDao;

	@Override
	public List<Tag> getIndexTags() {
		return tagDao.getIndexTags();
	}

	@Override
	public Tag getTagById(int id) {
		return tagDao.getTagById(id);
	}

}
